*,
*:before,
*:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  outline: none;
}
/* Firefox浏览器 */
@-moz-document url-prefix() {
  /* CSS样式 */
  *,
  *:before,
  *:after {
    scrollbar-width: thin;
  }
}
* {
  -webkit-user-drag: none;
}

html {
  height: 100%;
  box-sizing: border-box;
  background: #f5f8fa;
}

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  // background: #34353b;
  font-family:
    Microsoft YaHei-Regular,
    Microsoft YaHei;
  font-size: 14px;
  // user-select: none;
  color: var(--el-text-color-primary);
}
pre {
  display: inline-block;
  font-family:
    Microsoft YaHei,
    Helvetica Neue,
    Helvetica,
    PingFang SC,
    Hiragino Sans GB,
    Arial,
    sans-serif;
}
a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  outline: none;
  text-decoration: none;
}

address,
cite,
dfn,
em,
var,
i {
  font-style: normal;
}

b,
label {
  font-weight: normal;
}

p,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
dl,
tr,
td,
input,
pre,
select {
  padding: 0;
  margin: 0;
  list-style: none;
  font-weight: normal;
}
.clearfix::after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-corner {
  background-color: transparent;
}
::-webkit-scrollbar-thumb {
  position: relative;
  display: block;
  cursor: pointer;
  border-radius: 106px;
  transition: background-color 0.3s;
  background: rgba(76,84,123,0.3);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(76,84,123,0.5);
}
::-webkit-scrollbar-thumb:focus {
  background: rgba(76,84,123,0.7);
}
